<template>
    <div class="panel-phone">
        <el-form :model="phone" size="large" label-width="60" label-position="left">
            <el-form-item label="手机号">
                <el-input type="text" v-model="phone.number" />
            </el-form-item>
            <el-form-item label="验证码">
                <div class="verify-code">
                    <el-input v-model="phone.password" />
                    <el-button class="get-btn" type="primary">获取验证码</el-button>
                </div>
            </el-form-item>
        </el-form>
    </div>
</template>
<script setup lang="ts">
import { reactive } from 'vue'
const phone = reactive({
    number: '',
    password: ''
})
</script>
<style lang="less" scoped>
.panel-phone {
    overflow: auto;

    .verify-code {
        display: flex;

        .get-btn {
            margin-left: 8px;
        }
    }
}
</style>
